package com.providersave.mapper;

import org.apache.ibatis.annotations.Param;
import pojo.Warehouse;

import java.util.List;

public interface WarehouseMapper {
    Integer addWarehouse(Warehouse warehouse);
    Integer removeWarehouseById(Long id);
    Integer modifyWarehouse(Warehouse warehouse);
    List<Warehouse> findWarehousePagingByCondition(Warehouse warehouse,@Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
    Integer findWarehouseCountByCondition(Warehouse warehouse);
    List<Warehouse> findAllUsableWarehouse();
}
